package com.company;

import java.util.Arrays;

public class disiti {
    public static void main(String[] args){
        int[] a=new int[]{89,7,8,6,4};
        int[] b=new int[]{8,9,4,6,1,3};
        int[] c=new int[a.length+b.length];
        int i=0;
        for(i=0;i<a.length;i++){
            c[i]=a[i];
        }
        for(int j=0;j<b.length;j++);{
            c[i+j]=b[j];
        }
        System.out.println(Arrays.toString(c));
    }
}
